package com.qianbao.controller.v2;

import com.qianbao.components.svversion.ApiVersion;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller("HelloControllerv2")
@RequestMapping("/{version}/")
public class HelloController {

    @RequestMapping("/hello")
    @ApiVersion(2)
    @ResponseBody
    public String helloTest01(){
        return "你这个逗比，这个是v2接口";
    }

}
